package monster.com.cvh.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

/**
 * @author: 13580
 * @data: 2018/4/8
 * @function:职业技能Bean
 */
public class ProfessionSkillBean {
    /**
     * code : 1
     * data : [{"id":1,"level":"熟悉","name":"t","update_time":"2018-04-11 19:49:21.567756"}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private static final long serialVersionUID = 8969382136161119945L;
        /**
         * id : 1
         * level : 熟悉
         * name : t
         * update_time : 2018-04-11 19:49:21.567756
         */

        private int id;
        private String level="";
        private String name="";
        private String update_time="";

        public DataBean(int id) {
            this.id = id;
        }

        public DataBean() {
        }

        @Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (!(o instanceof DataBean)) return false;
            DataBean dataBean = (DataBean) o;
            return Objects.equals(getLevel(), dataBean.getLevel()) &&
                    Objects.equals(getName(), dataBean.getName()) &&
                    Objects.equals(getUpdate_time(), dataBean.getUpdate_time());
        }

        @Override
        public int hashCode() {

            return Objects.hash(getLevel(), getName(), getUpdate_time());
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", level='" + level + '\'' +
                    ", name='" + name + '\'' +
                    ", update_time='" + update_time + '\'' +
                    '}';
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }
    }
}
